#pragma once
#include <d3d9.h>
#include <D3D10.h>
#include "AuxTypes.h"

extern UD3DDevice g_D3DDevice;
#define SAFE_RELEASE(p) if ((p)) (p)->Release();